Skip to main content

Logic Tree

Docusurus Illustration

What is Docusaurus?​

Docusaurus 2 is an open-source static site generator framework developed and maintained by Meta. It's built with React, and offers various features out-of-the-box. Some of the logic I found cumbersome, as with most React frameworks. Docusaurus does provide a nice platform that has many built in abstractions and a API plugin friendly environment that suits many.

Use Case​

I used [Docusaurus 2], for the boiler plate. From my local - I push direct to this GitHub repo. A build is triggered in Netlifyβ€”basic covering basic CI/CD processes. As a Tech writer I try to lean into becoming a better Dev: below is the website structure 😁.

Website_Directory/

β”œβ”€β”€ Root/
β”‚ β”œβ”€β”€ docusaurus.config.js
β”‚ │── sidebar.js
β”‚ β”œβ”€β”€ package.json
β”‚ β”œβ”€β”€ README.md
β”‚ │── robots.txt
β”‚ └── package.json
β”‚ β”‚
β”‚ β”œβ”€β”€ static/
β”‚ β”‚ └──img1.png
β”‚ β”‚ └──img2.png
β”‚ β”‚
β”‚ β”œβ”€β”€ src/
β”‚ β”‚ └──components/
β”‚ β”‚ └──form features
β”‚ β”‚ └──index.js
β”‚ β”‚ └──styles.module.css
β”‚ β”‚
β”‚ β”‚ └──pages/
β”‚ β”‚ └──About.md
β”‚ β”‚ └──Contact.js
β”‚ β”‚
β”‚ β”‚ └──css/
β”‚ β”‚ β”œβ”€β”€about.css
β”‚ β”‚ β”œβ”€β”€custom.css
β”‚ β”‚
β”‚ β”‚
└──Case-studys/
β”‚ β”‚ β”œβ”€β”€Advertising/
β”‚ β”‚ └──Volvo.md
β”‚ β”‚ └──Adobe.md
β”‚ β”‚
β”‚ β”‚ └──Tech Writing/
β”‚ β”‚ └──Addestino.md
β”‚ β”‚ └──A-P-I-Docs.md
β”‚ β”‚
└── Blog/
β”‚ β”œβ”€β”€ authors.yml/
β”‚ β”‚ β”œβ”€β”€ index.md
β”‚ β”‚ β”œβ”€β”€ infrastructure-as-code.md
β”‚ β”‚ └── Monitor-Aerospike-.md
β”‚ β”‚
β”‚ β”‚
└── πŸ—οΈ Build /
ℹ️ About
πŸ“„ index.html
πŸ“ assets
🎨 css
πŸ–ΌοΈ images
πŸ“œ js
πŸ“ blog
πŸ“ž contact
πŸ“– docs
πŸ–ΌοΈ img
βš–οΈ legal
πŸŽ‰ success
❌ .nojekyll
⚠️ 404.html
πŸ“„ index.html
πŸ—ΊοΈ sitemap.xml


Other Frameworks​

Not exhaustive but worth mentioning.

Read the Docs: is a popular documentation hosting platform that simplifies the process of creating and publishing documentation. It supports various documentation formats, such as Sphinx, MkDocs, and Jupyter notebooks.

GitBook: is a versatile platform that allows users to create, publish, and host documentation. It supports various documentation formats, including Markdown, AsciiDoc, and reStructuredText.

Jekyll: is a popular static site generator that can be used to create documentation websites. It uses Markdown and Liquid templating to generate static HTML pages.

Conclusion​

Your choice of techstack depends on taste, and what problems your trying to solve. Next time, I need a front-end, going to play with HTMX or Svelte.